package com.wanban.adutils.db.bean;

import androidx.room.Entity;
import androidx.room.PrimaryKey;
import androidx.room.TypeConverters;

import com.wanban.adutils.db.AdInfoConverters;

import java.util.ArrayList;

@Entity(tableName = "adContent")
@TypeConverters(AdInfoConverters.class)
public class AdContent {
    @PrimaryKey
    public long adId;
    public int adType;
    // 插播时间间隔
    public int adRule;
    // 插播显示广告倒计时
    public int countDown;
    // 广告请求时间间隔
    public int interval;
    public ArrayList<AdInfo> adInfo;
    // 广告执行方案
    public int plan;
}
